b63bc9d91d54bd8b6014bbf41da94adc0a66671f,data-fabric/src/test/java/com/continuuity/data2/datafabric/dataset/service/DatasetInstanceHandlerTest.java,DatasetInstanceHandlerTest,deleteInstance,#String#,210

Before Change


  }

  private int deleteInstance(String instanceName) throws IOException {
    HttpDelete delete = new HttpDelete(getUrl("/data/instances/" + instanceName));
    HttpResponse response = new DefaultHttpClient().execute(delete);
    return response.getStatusLine().getStatusCode();
  }

  private int deleteInstances() throws IOException {

After Change


  }

  private int deleteInstance(String instanceName) throws IOException {
    return HttpRequests.delete(getUrl("/data/instances/" + instanceName)).getResponseCode();
  }

  private int deleteInstances() throws IOException {